package sfeir.gwt.ergosoom.server.service;

import sfeir.gwt.ergosoom.client.model.Profile;
import sfeir.gwt.ergosoom.server.util.Pair;

public interface ProfileService {
    public Profile getProfile(String email);
    public String saveProfilePicture(String mime, byte[] data);
    public Pair<byte[], String> getProfilePicture(String id);
    public Profile login(String login, String password);
    public void saveProfile(Profile profile);
    public Boolean checkAlias(String alias);
}
